package zl.osimall.common.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import zl.osimall.common.bean.OrderDetail;

import java.util.List;

@Mapper
public interface OrderDetailMapper {

    public int insert(@Param("orderDetails") List<OrderDetail> orderDetails);

    public int delete(String id);

    public List<OrderDetail> selectByOrderId(String id);
}
